//package com.xuelang.pipeline.app.resource;
//
//import com.xuelang.pipeline.app.resource.config.PodFeignConfig;
//import com.xuelang.pipeline.app.resource.impl.PodServiceFallbackImpl;
//import com.xuelang.pipeline.app.resource.request.PodListRequest;
//import com.xuelang.pipeline.app.resource.request.PodLogRequest;
//import com.xuelang.pipeline.client.common.result.ApiResult;
//import io.kubernetes.client.openapi.models.V1PodList;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//
//import jakarta.validation.Valid;
//
///**
// * pod服务接口
// *
// * @author xiwen.zxg
// * @since 2024/5/28
// */
//@FeignClient(name = "pod-service", url = "${feign.rpc.workerService}",
//        fallbackFactory = PodServiceFallbackImpl.class,
//        configuration = PodFeignConfig.class)
//public interface PodService {
//
//    /**
//     * 获取pod列表
//     *
//     * @param podListRequest
//     * @return
//     */
//    @PostMapping(value = "/get/pod/list", produces = "application/json;charset=utf-8")
//    ApiResult<V1PodList> list(@RequestBody @Valid PodListRequest podListRequest);
//
//    /**
//     * 获取pod日志
//     *
//     * @param podLogRequest
//     * @return
//     */
//    @PostMapping(value = "/get/pod/log", produces = "application/json;charset=utf-8")
//    ApiResult<String> log(@RequestBody @Valid PodLogRequest podLogRequest);
//
//}
